From f44959fa59e4f2d91e7460f5b21ac1a2be04273f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Fri, 4 May 2018 19:58:15 +0200 Subject: [PATCH] stylecontext: Remove outdated comment gtktextview:invalidate_cursor_windwo is no more. --- gtk/gtkstylecontext.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index 0afecc4c46..c26ab4136e 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -1696,10 +1696,6 @@ draw_insertion_cursor (GtkStyleContext *context, _gtk_style_context_get_cursor_color (context, &primary_color, &secondary_color); gdk_cairo_set_source_rgba (cr, is_primary ? &primary_color : &secondary_color); - /* When changing the shape or size of the cursor here, - * propagate the changes to gtktextview.c:text_window_invalidate_cursors(). - */ - stem_width = height * CURSOR_ASPECT_RATIO + 1; /* put (stem_width % 2) on the proper side of the cursor */ -- 2.30.2